const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  devServer:{
    host:'127.0.0.1',
    port:'8888',
    open:true,
    proxy: {
			"/api": {
				target: "https://beautydemo.zhulihulian.cn/api", //目标路径
				changeOrigin: true,
				pathRewrite: {
					//重写路径
					"^/api": "",
				},
			},
		},
  }
})
